package com.jk.dao.account;

import com.jk.entity.account.AccRole;
import com.jk.util.mybatis.MyBatisRepository;
import org.apache.ibatis.annotations.Param;

import org.springframework.dao.DataAccessException;
import java.util.List;

/**
 * ACC_ROLE dao
 * Tue Sep 22 11:02:19 CST 2015 yanghuan
 */ 
@MyBatisRepository
public interface AccRoleDao {

    int deleteByPrimaryKey(@Param(value = "accRoleId")String key) throws DataAccessException;

    int insert(AccRole accRole) throws DataAccessException;

    AccRole selectByPrimaryKey(@Param(value = "accRoleId")String key) throws DataAccessException;

    int updateByPrimaryKeySelective(AccRole accRole) throws DataAccessException;

    int updateByPrimaryKey(AccRole accRole) throws DataAccessException;

    List<AccRole> selectAll() throws DataAccessException;
}

